org.springframework.data.document.mongodb.mapping
Class MongoMappingContext

java.lang.Object
  extended by BasicMappingContext
      extended by org.springframework.data.document.mongodb.mapping.MongoMappingContext

public class MongoMappingContext
extends BasicMappingContext

Author:
Jon Brisbin

Constructor Summary
MongoMappingContext()
           
 
Method Summary
protected  void augmentSimpleTypes()
           
<T>
createPersistentEntity(TypeInformation typeInformation, MappingContext mappingContext)
           
 BasicPersistentProperty createPersistentProperty(java.lang.reflect.Field field, java.beans.PropertyDescriptor descriptor, TypeInformation information)
           
 java.util.Collection<MongoPersistentEntity<?>> getPersistentEntities()
           
 boolean isAssociation(java.lang.reflect.Field field, java.beans.PropertyDescriptor descriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MongoMappingContext

public MongoMappingContext()
Method Detail

augmentSimpleTypes

protected void augmentSimpleTypes()

isAssociation

public boolean isAssociation(java.lang.reflect.Field field,
                             java.beans.PropertyDescriptor descriptor)
                      throws MappingConfigurationException
Throws:
MappingConfigurationException

getPersistentEntities

public java.util.Collection<MongoPersistentEntity<?>> getPersistentEntities()

createPersistentProperty

public BasicPersistentProperty createPersistentProperty(java.lang.reflect.Field field,
                                                        java.beans.PropertyDescriptor descriptor,
                                                        TypeInformation information)
                                                 throws MappingConfigurationException
Throws:
MappingConfigurationException

createPersistentEntity

public <T>  createPersistentEntity(TypeInformation typeInformation,
                                        MappingContext mappingContext)
                             throws MappingConfigurationException
Throws:
MappingConfigurationException